package com.example.stlink.model.request;

import androidx.annotation.NonNull;

import com.example.stlink.model.constants.UrlConstants;

public class AllCourseRequest {

    private Integer current;

    private Integer size;

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    @NonNull
    @Override
    public String toString() {
        String retValue;
        retValue = "?" + "&appId=" + UrlConstants.APP_ID
                + "&appSecret=" + UrlConstants.APP_SECRET
                + "&current" + current
                + "&size" + size;
        return retValue;
    }
}
